package com.yc.think.brain;

/**
 * author: yc
 * description: ${description}
 * date: 2021/7/13 16:15
 */
public class Link {
    private Node node;
    private int w;

    public Link() {
    }

    public Link(Node node, int w) {
        this.node = node;
        this.w = w;
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }

    public int getW() {
        return w;
    }

    public void setW(int w) {
        this.w = w;
    }
}
